<%--
  Created by IntelliJ IDEA.
  User: cnprinces
  Date: 13-1-21
  Time: 下午12:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%><%@ include file="/include.inc.jsp"%>

<div class="pageContent">
<%--
    <form method="post" action="/client/client!addClientManager" class="pageForm required-validate"onsubmit="return validateCallback(this, dialogAjaxDone)">
--%>
    <form method="post" action="/client/client!addClientManager" class="pageForm required-validate"onsubmit="return validateCallback(this, dialogAjaxDone)">

        <input type="hidden" name="clientManager.id" value="${clientManager.id}"/>
         <div class="pageFormContent" layoutH="56">
            <p>
                <label>客户名：</label>
                <input name="clientManager.clientName" class="required" type="text" size="30" value="${clientManager.clientName}" />
            </p>
            <p>
                <label>性别：</label>
                <select class="combox" name="clientManager.clientSex">
                    <option value="男" <c:if test="${clientManager.clientSex=='男'}">selected="true" </c:if>>男</option>
                    <option value="女" <c:if test="${clientManager.clientSex=='女'}">selected="true" </c:if>>女</option>
                </select>
            </p>
            <p>
                <label>联系电话：</label>
                <input name="clientManager.clientTel" class="phone" type="text" size="30" alt="请输入数字" value="${clientManager.clientTel}"/>
            </p>

            <p>
                <label>出生日期：</label>
               <%-- <input type="text"  value="${clientManager.clientBirthdate}" name="clientManager.clientBirthdate" class="textInput">--%>
                <input type="text" name="clientManager.clientBirthdate" class="date" dateFmt="yyyy-MM-dd"
                       readonly="true" value="${clientManager.clientBirthdate}"/>
                <a class="inputDateButton" href="javascript:;">选择</a>
            </p>

            <p>
                <label>日期类型：</label>
                <select class="combox" name="clientManager.clientBirthdateType">
                    <option value="农历" <c:if test="${clientManager.clientBirthdateType=='农历'}">selected="true" </c:if>>农历</option>
                    <option value="阴历" <c:if test="${clientManager.clientBirthdateType=='阴历'}">selected="true" </c:if>>阴历</option>
                </select>
            </p>

            <p>
                <label>客户邮箱：</label>
                <input name="clientManager.clientEmail"  type="text" size="30" value="${clientManager.clientEmail}" />
            </p>

            <p>
                <label>客户QQ：</label> <input name="clientManager.clientQQ"   type="text" size="30" value="${clientManager.clientQQ}" />
            </p>

            <p>
                <label>客户地址：</label>
                <input name="clientManager.clientAddr"   type="text" size="30" value="${clientManager.clientAddr}"  />
            </p>

        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>
</div>
